package cn.wolfcode.trip.base.service;


import cn.wolfcode.trip.base.domain.Hotel;
import cn.wolfcode.trip.base.query.HotelQueryObject;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;


public interface IHotelService {

    void saveOrUpdate(Hotel hotel);


    PageInfo query(HotelQueryObject qo);

    List<Hotel> listCommendHotels(Integer state);

    Hotel queryHotelById(Long id);
}
